package service

import (
	"context"
	dictItemApi "mldong/api/dictItem"
	"reflect"
)

type IDictItemService interface {
	/**
	* 添加字典项
	 */
	Save(ctx context.Context, req *dictItemApi.SaveReq) (res bool, err error)
	/**
	* 修改字典项
	 */
	Update(ctx context.Context, req *dictItemApi.UpdateReq) (res bool, err error)
	/**
	* 删除字典项
	 */
	Remove(ctx context.Context, ids []string) (res bool, err error)
	/**
	* 字典项详情
	 */
	Detail(ctx context.Context, id string) (res dictItemApi.DictItemVO, err error)
	/**
	* 字典项分页查询
	 */
	Page(ctx context.Context, req *dictItemApi.PageReq) (res dictItemApi.DictItemPageVO, err error)
}

var DictItemServiceType = reflect.TypeOf((*IDictItemService)(nil)).Elem()
